import  Vue  from "vue"
import VueRouter from "vue-router"
import GoodsList from "../components/GoodsList.vue"
import Shopcart from "../components/Shopcart.vue"

Vue.use(VueRouter)

export default new VueRouter({
	routes:[
		{path:"/",component:GoodsList},
		{path:"/shopcart",component:Shopcart}
	]
})